home *** CD-ROM | disk | FTP | other *** search
- > > Evertime I make a demo, I have to load up a graphics file and/or
- > > a music file. Is it possible to INCLUDE them in a Blitz program
- > > so I don't have to have more than 1 file for my demos? Incbin
- > > does something like that, but if I wanted to include a medmodule
- > > how would I play it afterwards? Certainly not with PlayMed since it
- > > doesn't receive an address as a parameter. So, what can be done?
- >
- Well...as far as I know it's impossible to tell Blitz compiler
- WHERE (chip or fast ) you want to put the included data when
- your proggy starts. So as Med module must be in chip mem
- U can't incbin it - as U never know where (chip or fast) it'll be.
- This INCBIN thing only works if it's not important where you want your
- data (asm routines, map data etc.)
- BTW ther is command CludgeMedModule - if U alloc Chip, bload med
- module into it and then CLUDGE it then it's just like loadmedmodule.
- Hope that helped.
-
-
- O.T.T. (ott@microlnk.ml.ee)
-
-
-